package cn.sciento.farm.devicemanager.service;

import cn.sciento.farm.devicemanager.dao.entity.DevInjectFertilizer;
import cn.sciento.farm.devicemanager.dao.model.fertilizer.InjectFertilizer;

import java.util.List;

public interface InjectFertilizerService {
    int create(DevInjectFertilizer waterFertilizer);

    int update(DevInjectFertilizer devInjectFertilizer);

    InjectFertilizer getById(Long id);

    InjectFertilizer getByEui(String eui);

    int deleteById(Long id);

    List<InjectFertilizer> getByAreaId(Integer areaId);

    int updateById(InjectFertilizer injectFertilizer);

    int updateMode(Long  id,int remoteMode);
}
